
<!--//=========================<script réalisé par :BOUFTIH FADWA>===================-->

{extends file="includes/skeleton.html"}{/extends}
  {block name="content"}

 
  
       
                     <div data-role="content">
                      
                    <div data-role="fieldcontain">
                    <form action="urgence.php" method="POST" data-ajax="false">



                    <label for="dateAbs" data-theme="a" >Date Abscence:</label>
                    <input id="dateAbs" type="date"  name="dateAbs" value="{$d}" data-theme="d" required/>  <br />



                    <label for="designation" data-theme="e" >Designation :</label>
                    <select id="designation" name="designation" >
                    {foreach $tabtache as $tache}                       <!--On va avoir un nombre d'option egal à la size de $tab -->
                    <option >{$tache->getDesignation()} </option>
                    {/foreach}
                     </select>




                    <label for="causeAbs" data-theme="a" >Cause d'abscence :</label>                 
                    <textarea id="causeAbs" name="causeAbs" data-theme="c" cols="10" rows="10"  required></textarea> <br></br>


                    
                    
                     <!--data-transition="pop" data-theme="a"-->
                    <input type="submit" value="Envoyer" name="envoyer" data-theme="a" />
                    
                    </form>
                    </div>
                    
            </div><!-- /content -->
          {/block}






       